package com.jd.org.mapper;


import com.jd.basic.mapper.BaseMapper;
import com.jd.org.domain.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * Mapper接口：员工
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    void saveEmployeeRole(@Param("id") Long id, @Param("role_id") Long role_id);

    void removeEmployeeRoleByEmployeeId(Long id);

    Employee loadByLogininfoId(Long id);

    List<Employee> list(Long shopId);
}
